package com.bogewang.pay.service;

import com.alibaba.fastjson.JSONObject;
import com.bogewang.core.base.BaseResponse;
import com.bogewang.pay.entity.PayCreatePayTokenDTO;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;

public interface PayMentTransacTokenService {

    /**
     * 创建支付令牌
     * @param payCreatePayTokenDTO
     * @return
     */
    @GetMapping("/createPayToken")
    public BaseResponse<JSONObject> cratePayToken(@Validated PayCreatePayTokenDTO payCreatePayTokenDTO);
}
